@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  background-color: #f4f6f8;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}


.app-main {
  padding: 20px;
}


$bg: #283443;
$light_gray: #889aa4;
$cursor: #889aa4;

@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
  .login .el-input input {
    color: $cursor;
  }
}

.login {
  .el-input {
    display: inline-block;
    height: 47px;
    width: 85%;

    input {
      background: transparent;
      border: 0px;
      -webkit-appearance: none;
      border-radius: 0px;
      padding: 12px 5px 12px 15px;
      color: $light_gray;
      height: 47px;
      caret-color: $cursor;

      &:-webkit-autofill {
        box-shadow: 0 0 0px 1000px $bg inset !important;
        -webkit-text-fill-color: $cursor !important;
      }
    }
  }

  .el-form-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #f1f1f1;
    border-radius: 5px;
    color: #889aa4;
    margin: 30px 0;
  }
}


.el-dialog {
  .el-dialog__header {
    background-color: #4770ff;

    .el-dialog__title {
      color: #fff;
    }

    .el-icon-close {
      color: #fff;
    }
  }
}

.el-message-box {
  border: unset !important;

  .el-message-box__header {
    background-color: #4770FF;

    .el-message-box__title {
      color: #ffffff;
    }

    .el-message-box__close {
      color: #ffffff;

    }
  }
}


.el-drawer__header {
  background-color: #4770FF;
  padding-bottom: 15px !important;

  span {
    color: #ffffff;
  }

  .el-dialog__close {
    color: #ffffff;

  }
}
